package com.cmas.manage.mapper;

import com.cmas.manage.domain.TeacherInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cmas.manage.vo.TeacherInfoVo;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 教师信息Mapper接口
 *
 * @author cmas
 * @date 2021-05-02
 */
public interface TeacherInfoMapper extends BaseMapper<TeacherInfo> {

    @Select("select count(*) from teacher_info")
    Integer teacherCount();

    List<TeacherInfo> queryListVo(TeacherInfo teacherInfo);
}
